package com.basic.business.mat.service.impl;

import org.springframework.stereotype.Service;
import com.basic.common.core.service.impl.BaseServiceImpl;
import com.basic.business.mat.domain.TMatMgmt;
import com.basic.business.mat.service.ITMatMgmtService;
import com.basic.business.mat.mapper.TMatMgmtMapper;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 材质管理Service业务层处理
 *
 * @author zhaoxy_jn@163.com
 */
@Service
public class TMatMgmtServiceImpl extends BaseServiceImpl<TMatMgmtMapper,TMatMgmt> implements ITMatMgmtService {

    @Resource
    private TMatMgmtMapper tMatMgmtMapper;

    @Override
    public List<TMatMgmt> getNormalMatMgmtList() {
        return tMatMgmtMapper.getNormalMatMgmtList();
    }

    @Override
    public List<TMatMgmt> getDoesItExist(TMatMgmt tMatMgmt) {
        return tMatMgmtMapper.getDoesItExist(tMatMgmt);
    }

    @Override
    public int updateStatusByIds(String[] ids, String status) {
        return tMatMgmtMapper.updateStatusByIds(ids, status);
    }
}
